home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / BARNET / ARMLINUX / MAIL / 9802 / 000038_owner-linux-arm…r.rutgers.edu _Mon Feb 23 17:46:17 1998.msg < prev    next >
Internet Message Format  |  1998-04-07  |  4KB

  1. Return-Path: <owner-linux-arm-outgoing@vger.rutgers.edu>
  2. Received: from nic.funet.fi (nic.funet.fi [128.214.248.6])
  3.     by odie.barnet.ac.uk (8.8.6/8.8.6) with ESMTP id RAA20485
  4.     for <willy@odie.fluff.org>; Mon, 23 Feb 1998 17:46:16 GMT
  5. Received: from vger.rutgers.edu ([128.6.190.2]:32351 "EHLO vger.rutgers.edu" ident: "root") by nic.funet.fi with ESMTP id <2324-673>; Mon, 23 Feb 1998 19:44:41 +0200
  6. Received: by vger.rutgers.edu id <970836-32245>; Mon, 23 Feb 1998 12:05:52 -0500
  7. Received: from violet.csi.cam.ac.uk ([131.111.8.58]:35572 "HELO violet.csi.cam.ac.uk" ident: "exim") by vger.rutgers.edu with SMTP id <970953-32245>; Mon, 23 Feb 1998 11:58:44 -0500
  8. Received: from tmo21.quns.cam.ac.uk [131.111.141.48] (tmo21)
  9.     by violet.csi.cam.ac.uk with smtp (Exim 1.73 #1)
  10.     id 0y71EN-0006QI-00; Mon, 23 Feb 1998 16:59:52 +0000
  11. Date:     Mon, 23 Feb 1998 17:04:51 +0000 (GMT)
  12. From: Tom <tmo21@cam.ac.uk>
  13. X-Sender: tmo21@tmo21.quns.cam.ac.uk
  14. To: linux-arm@vger.rutgers.edu
  15. Subject: Re: Booting Linux for first time
  16. In-Reply-To: <Pine.SGI.3.91.980223141322.2987A-100000@hebe>
  17. Message-ID: <Pine.LNX.3.96.980223165845.872B-100000@tmo21.quns.cam.ac.uk>
  18. MIME-Version: 1.0
  19. Content-Type: TEXT/PLAIN; charset=US-ASCII
  20. X-Orcpt: rfc822;linux-arm@vger.rutgers.edu
  21. Sender: owner-linux-arm@vger.rutgers.edu
  22. Precedence: bulk
  23. X-Loop: majordomo@vger.rutgers.edu
  24. Status: RO
  25.  
  26. On Mon, 23 Feb 1998, Phil Norman wrote:
  27.  
  28. > On Sat, 21 Feb 1998, micm wrote:
  29. > > Right.  So I should now have linux installed.  Now, when I next startup
  30. > > linux, with
  31. > > !Linux -bootkernel rpc
  32. > > I still get asked to insert the Linux root disc.
  33. > > 
  34. > > Surely it should now be able to boot from the hda3?  Do I need to pass
  35. > > a command line argument to the bootloader or something??
  36. > AFAIK, there is no parameter you can pass to the bootloader which tell it 
  37. > where to find the partition.  The only way I know which works on my 
  38. > system is, when the 'Enter extra arguments:' comes up, type:
  39. > root=/dev/hda3
  40. > This will then cause the kernel to boot from whatever partition you 
  41. > happend to mention (hda3 in this case).
  42. > Since this started to get rather annoying, I hacked my personal copy of 
  43. > the bootloader so instead of calling an OS_ReadS (or similar) it branches 
  44. > to a routine which copies 'root=/dev/hda3' into the buffer, and then goes 
  45. > on from there.  This is cludgy, hacky and horrible, but it works for me.
  46. > I think there's some other way of doing it using 'loadmap' and the 
  47. > /boot/wotsit file, but I never got round to fiddling with that (esp since 
  48. > loadmap doesn't seem to work on my system).
  49.  
  50. On my system, if you create a config file /etc/boot.conf (or edit if it's
  51. there) - it should have entries along the lines of :
  52.  
  53.  
  54. # Linux 2.0.30
  55. kernel {
  56.   name = "Linux 2.0.30";
  57.   path = "/vmlinux";
  58.   root = "/dev/hda3";
  59.   ramdisk = 0;
  60.   flags = readonly;
  61. };
  62.  
  63. You then need to run the followind (as root, obviously) :
  64.  
  65. loadmap -R /dev/hda3 -v -C /etc/boot.conf
  66.  
  67. This should set up the boot map files such that when you next boot into
  68. Linux you're given the menu of kernels available (using the file above
  69. will result in only one entry called "Linux 2.0.30"). I think that's all
  70. you need to do - this also then makes the !Linux loader work, which is
  71. nice :-).
  72.  
  73. Hope this helps,
  74.  
  75. Tom.
  76.  
  77. --
  78. Tom Oinn, Queens' College, Cambridge
  79. http://tmo21.quns.cam.ac.uk/
  80.  
  81.  
  82. unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu